package com.zyl.Mapper;

import com.zyl.pojo.Article;
import com.zyl.vo.AdminArticleVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: Zyl
 * @Param:
 * @return:
 * @Description:
 */
@Mapper
@Repository
public interface ArticleMapper {
    public List<Article> findAll();
    public Article findArticleByArticleId(Long articleId);
    public void updateArticleByArticleId(Article article);
    public void insertArticle(Article article);
    public void deleteArticleByArticleId(Long ArticleId);
    public Integer articleCount();
}
